-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize aircrafts actions #1366
base: develop
Are you sure you want to change the base?
Conversation
suggest to make these guard behaviors compatible with |
Only the attack move action will use the weapon's range to reduce the range that search the valid target. |
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
TechnoClass FootClass TechnoClass_vtbl vt_entry_3B4 -> bool InAuxiliarySearchRange(AbstractClass* pTarget) |
stop
command (S) is issued to an aircraft, the aircraft will immediately return to the airport. When aguard
command (G) is issued, the aircraft will search for targets around the current location and return immediately when target is not found, target is destroyed or ammos are depleted (Note that if the target is destroyed but ammos are not depleted yet, it will also return because the aircraft's command is one-time). When aattack move
command (Ctrl+Shift) is issued, the aircraft will move towards the destination and search for nearby targets on the route for attack. Once ammos are depleted or the destination is reached, it will return (Note that if the automatically selected target is destroyed but ammos are not depleted yet during the process, the aircraft will continue to go to the destination).